package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="SensorNumTjDTO")
public class SensorNumTjDTO {

    @NotNull(message = "管井水位仪数量不能为空")
    @Min(value = 0, message = "管井水位仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "管井水位仪数量必须是整数")
    @ApiModelProperty(value = "管井水位仪数量", example="10")
    private String suiweiNum;

    @NotNull(message = "管道流量仪数量不能为空")
    @Min(value = 0, message = "管道流量仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "管道流量仪数量必须是整数")
    @ApiModelProperty(value = "管道流量仪数量", example="10")
    private String liulianNum;

    @NotNull(message = "CH2探测仪数量不能为空")
    @Min(value = 0, message = "CH2探测仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "CH2探测仪数量必须是整数")
    @ApiModelProperty(value = "CH2探测仪数量", example="10")
    private String ch2Num;

    @NotNull(message = "CO探测仪数量不能为空")
    @Min(value = 0, message = "CO探测仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "CO探测仪数量必须是整数")
    @ApiModelProperty(value = "CO探测仪数量", example="10")
    private String coNum;

    @NotNull(message = "H2S探测仪数量不能为空")
    @Min(value = 0, message = "H2S探测仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "H2S探测仪数量必须是整数")
    @ApiModelProperty(value = "H2S探测仪数量", example="10")
    private String h2sNum;

    @NotNull(message = "PH探测仪数量不能为空")
    @Min(value = 0, message = "PH探测仪数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "PH探测仪数量必须是整数")
    @ApiModelProperty(value = "PH探测仪数量", example="10")
    private String phNum;

    @NotNull(message = "巡检机器人数量不能为空")
    @Min(value = 0, message = "巡检机器人数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "巡检机器人数量必须是整数")
    @ApiModelProperty(value = "巡检机器人数量", example="10")
    private String robotNum;

    @NotNull(message = "电子温度计数量不能为空")
    @Min(value = 0, message = "电子温度计数量必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "电子温度计数量必须是整数")
    @ApiModelProperty(value = "电子温度计数量", example="10")
    private String wendujiNum;
}